package com.linln.admin.app.repository;

import com.linln.admin.app.domain.AppInfo;
import com.linln.common.config.BaseRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @author 陶富成
 * @date 2021/07/08
 */
public interface InfoRepository extends BaseRepository<AppInfo, Long> {
    @Query("from #{#entityName} t where repo_url like concat('%',:projectName,'%')")
    List<AppInfo> findByGitProjectName(String projectName);
}